package com.healthcloud.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author yucl
 * @date 2018/11/27
 */
@Data
@Alias("AppCmdMasterModel")
public class AppCmdMasterModel implements Serializable {

    private Integer id;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
    private String userName;

    public AppCmdMasterModel(String name, Date createTime, String userName){
        this.name=name;
        this.createTime=createTime;
        this.userName=userName;
    }

    public AppCmdMasterModel(){}
}
